// Decompiled with JetBrains decompiler
// Type: Communication.CommunicationEventHandler
// Assembly: FMCommon, Version=1.0.8663.21262, Culture=neutral, PublicKeyToken=null
// MVID: 52773074-FB09-4BA0-8FA9-4782D11D6C17
// Assembly location: /Users/mac/work/RiverGame/com.rivergame.fmframework/Runtime/Plugins/FMCommon.dll

namespace Communication
{
    public class CommunicationEventHandler
    {
        public CommunicationEventHandler.OnComplete CompleteCallBack;
        public CommunicationEventHandler.OnFail FailCallBack;
        public CommunicationEventHandler.OnWaiting WaitingCallBack;

        public CommunicationEventHandler(
            CommunicationEventHandler.OnComplete onComplete = null,
            CommunicationEventHandler.OnWaiting onWaiting = null,
            CommunicationEventHandler.OnFail onFail = null)
        {
            this.CompleteCallBack = onComplete;
            this.FailCallBack = onFail;
            this.WaitingCallBack = onWaiting;
        }

        public delegate void OnComplete(object message);

        public delegate void OnWaiting();

        public delegate void OnFail();
    }
}
